home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ Desktop Dead.xpl < prev    next >
Text File  |  1999-06-05  |  1KB  |  56 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Desktop\Other"
  5. "NAME"="Disable Desktop"
  6. "VERSION"="1.3"
  7. "WARNING"="1"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Disable Desktop!"
  10. "DESCRIPTION 1"="If this option is set, the entire desktop is disabled."
  11. "DESCRIPTION 2"="This means, ABSOLUTELY NO ICONS are displayed on the desktop."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  15.  
  16.  
  17. sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDesktop"
  18.  
  19. Sub Plugin_Initialize 
  20.  i=RegReadValue(sPath)
  21.  if IsEmpty(i)=false then
  22.   If i=1 then Call SetUIElement(1,true) 
  23.  end if  
  24. End Sub
  25.  
  26. Sub Plugin_CheckData(ElementIndex)
  27. End Sub
  28.  
  29. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  30.  b=GetUIElement(1)
  31.  if b=true then
  32.   Call RegWriteValue(sPath,1,2)
  33.  else
  34.   Call RegWriteValue(sPath,0,2)
  35. '  if RegPathExists(sPath & sTC) then
  36. '   Call RegDeletePath(sPath & sTC)
  37. '  end if
  38.  end if
  39.  
  40. ' b=GetUIElement(2)
  41. ' if b=true then
  42. '  Call RegWriteValue(sPath & sIE & "\@","",1)
  43. ' else
  44. '  if RegPathExists(sPath & sIE) then
  45. '   Call RegDeletePath(sPath & sIE)
  46. '  end if
  47. ' end if
  48. End Sub
  49.  
  50.  
  51. Sub Plugin_Terminate 
  52. End Sub
  53.  
  54.  
  55.  
  56.